package org.phoenixframework.common.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 系统角色-权限关联表
 * </p>
 *
 * @author doublelife
 * @since 2021-05-08
 */
@Data
@EqualsAndHashCode
@TableName("sys_role_authority")
@ApiModel(value = "SysRoleAuthority对象", description = "系统角色-权限关联表")
public class SysRoleAuthority {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "角色ID")
    @TableField("role_id")
    private Long roleId;

    @ApiModelProperty(value = "权限ID")
    @TableField("authority_id")
    private Long authorityId;


}
